//
//  WordTestManager.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/7/2.
//

#import "WordTestManager.h"

@implementation WordTestManager

- (NSString *)methodName{
    return @"/system/user/test/app/add";
}

- (JPAPIManagerRequestType)requestType{
    return JPAPIManagerRequestTypePOST;
}

- (NSDictionary *)paramsForApi:(JPAPIBaseManager *)manager{
    NSMutableDictionary *dict = @{}.mutableCopy;
    dict[@"wordIds"] = self.wordIds;
    NSString *userId = [[NSUserDefaults standardUserDefaults]objectForKey:@"userId"];
    dict[@"userId"] = userId;
    return dict;
}

@end
